#!/bin/bash
set -e
set -x
MYDIR="${0%/*}"
cd "$MYDIR/.."
source "recipes/common.sh"


# RECIPE START libffi

reset_mtime libffi libffi/configure.ac
mkdir -p build/libffi
cd build/libffi
../../libffi/configure \
	${CONFIGURE_ARGS} \
	--with-gcc-arch=native \
	${AUTOCRAP_KLUDGE}

cd ../..
make_build build/libffi

# RECIPE END libffi
